package com.aaa.hospital.ManagementEnd.mapper;

import com.aaa.hospital.ManagementEnd.pojo.Dispensary;
import com.aaa.hospital.ManagementEnd.pojo.Unit;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DispensaryMapper {
    List<Dispensary> queryAll();
    Dispensary selectById(int yfid);
    int insert(Dispensary dispensary);
    int update (Dispensary dispensary);
    int delete(int id);


}
